<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
  <title>Document</title>
  <style>

  </style>
</head>
<body>

</body>
<script>
let parmas = {
  appkey: 'zhizhi0208',
  id:111
}

//参数= 值&参数=值......
//appkey=zhizhi0208&id=111

let arr = []
for (let key in parmas) {
  // console.log(`${key} = ${parmas[key]}`);
  arr.push(`${key} = ${parmas[key]}`)
}
console.log(arr);
</script>
</html>